#pragma once

#include <QtWidgets/QWidget>
#include "ui_objectTimer.h"

#define TIMEID_START 1*1000

class objectTimer : public QWidget
{
    Q_OBJECT

public:
    objectTimer(QWidget *parent = nullptr);
    ~objectTimer();
	virtual void timerEvent(QTimerEvent * event);
private:
	void timerStart();
private:
    Ui::objectTimerClass ui;
	int myTimerID;
	int picID;
private slots:
	void on_startButton_clicked();
	void on_stopButton_clicked();
};
